package com.dearbinge.data.pojo.admin.vo;

import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 后台菜单权限表DO
 * @author wes
 * @date 2019/4/11
 */
@Api("后台菜单权限表")
@TableName("admin_security_authority")
public class AdminSecurityAuthorityRequestVO implements Serializable {

    @ApiModelProperty("ID")
    private Integer authorityId;

    @ApiModelProperty("权限名称")
    private String name;

    @ApiModelProperty("权限标识")
    private String permission;

    @ApiModelProperty("上级id")
    private Integer parentId;

    @ApiModelProperty("层次")
    private Integer level;

    public Integer getAuthorityId() {
        return authorityId;
    }

    public void setAuthorityId(Integer authorityId) {
        this.authorityId = authorityId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    @Override
    public String toString() {
        return "AdminSecurityAuthority{" +
                "authorityId=" + authorityId +
                ", name='" + name + '\'' +
                ", permission='" + permission + '\'' +
                ", parentId=" + parentId +
                ", level=" + level +
                '}';
    }
}